//
//  AboutUsViewController.m
//  GameBaby
//
//  Created by keyZhang on 14-2-16.
//  Copyright (c) 2014年 keyZhang. All rights reserved.
//

#import "AboutUsViewController.h"
#import "WebShowViewController.h"

@interface AboutUsViewController ()

@end

@implementation AboutUsViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        UILabel *t = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
        t.font = [UIFont systemFontOfSize:16];
        t.textColor = [UIColor blackColor];
        t.backgroundColor = [UIColor clearColor];
        t.textAlignment = UITextAlignmentCenter;
        t.text = @"关于我们";
        self.navigationItem.titleView = t;

    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.view.backgroundColor = [UIColor whiteColor];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/**
 *  关注微博
 *
 */
- (IBAction)gzSinaBtnClick:(UIButton *)sender {
    WebShowViewController *wbVC = [[WebShowViewController alloc] init];
    wbVC.contentTitle = @"关注微博";
    wbVC.linkURL = @"http://weibo.com/ewoka";
    [self.navigationController pushViewController:wbVC animated:YES];
}

- (IBAction)gzTCBtnClick:(UIButton *)sender {
    WebShowViewController *wbVC = [[WebShowViewController alloc] init];
    wbVC.contentTitle = @"关注微博";
    wbVC.linkURL = @"http://t.qq.com/ewokawl";
    [self.navigationController pushViewController:wbVC animated:YES];
}
@end
